package cn.hill4j.tool.spring.ext.mock.annotation;

import cn.hill4j.tool.spring.ext.mock.MockBeanRegistrar;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;
/**
  * ClassName: EnableMock
  * Description: mock装载引导配置注解
  * @author hillchen
  * Date: 2023/8/12
  * @version: 1.0
  */
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Import(MockBeanRegistrar.class)
public @interface EnableMock {
    /**
     * 需要扫描mock bean 的包名
     * @author: hillchen
     * Date: 2022/8/22 10:24
     * @return: String[]
     */
    String[] basePackages() default {};
}
